Adds a given dos list entry to the dos list. Automatically
locks the list for writing. There may be not more than one device
or assign node of the same name. There are no restrictions on
volume nodes.
INPUTS
dlist
pointer to dos list entry.
RESULT
!=0 if all went well, 0 otherwise.
NOTES
Since anybody who wants to use a device or volume node in the
dos list has to lock the list, filesystems may be called with
the dos list locked. So if you want to add a dos list entry
out of a filesystem don't just wait on the lock but serve all
incoming requests until the dos list is free instead.
EXAMPLE
BUGS
SEE ALSO
INTERNALS
HISTORY
RCS file: /home/AROS/CVS/AROS/rom/dos/adddosentry.c,v
Working file: ../../rom/dos/adddosentry.c
head: 1.8
branch:
locks: strict
access list:
symbolic names:
REL_1_8: 1.3
AROS17: 1.3
alpha: 1.1.1.1
digulla: 1.1.1
keyword substitution: kv
total revisions: 9; selected revisions: 9
description:
----------------------------
revision 1.8
date: 1997/01/27 00:36:13; author: ldp; state: Exp; lines: +8 -3
Polish
----------------------------
revision 1.7
date: 1996/12/09 13:53:20; author: aros; state: Exp; lines: +5 -2
Added empty templates for all missing functions
Moved #include's into first column
----------------------------
revision 1.6
date: 1996/11/14 08:54:17; author: aros; state: Exp; lines: +17 -6
Some more changes
----------------------------
revision 1.5
date: 1996/10/24 15:50:23; author: aros; state: Exp; lines: +10 -7
Use the official AROS macros over the __AROS versions.
----------------------------
revision 1.4
date: 1996/10/10 13:18:38; author: digulla; state: Exp; lines: +6 -2
Use dl_DevNam instaed of dl_Name (STRPTR and BPTR) (Fleischer)
----------------------------
revision 1.3
date: 1996/08/13 13:52:44; author: digulla; state: Exp; lines: +6 -3
Replaced by "dos_intern.h" or added "dos_intern.h"
Replaced __AROS_LA by __AROS_LHA
----------------------------
revision 1.2
date: 1996/08/01 17:40:47; author: digulla; state: Exp; lines: +1 -0
Added standard header for all files
----------------------------
revision 1.1
date: 1996/07/28 16:37:22; author: digulla; state: Exp;
branches: 1.1.1;
Initial revision
----------------------------
revision 1.1.1.1
date: 1996/07/28 16:37:22; author: digulla; state: Exp; lines: +0 -0
First CVS version of AROS
=============================================================================